package br.com.projfinal.persistence;

import java.io.Serializable;
import java.util.List;

public interface GenericDao<E, ID extends Serializable> {

	void save(E entity) throws Exception;

	void delete(E entity) throws Exception;

	void update(E entity) throws Exception;

	List<E> findAll() throws Exception;

	E find(ID key) throws Exception;

}
